package com.ftwj.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ftwj.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {
    // 根据角色名称查询角色信息
    List<SysRole> selectByRoleName(String roleName);
    List<SysRole> getAllRoles();
    long getTotalCount();
}
